home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / gdb-4.5 / dist / gdb / vx-share / xdr_ld.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-03-28  |  687 b   |  42 lines

  1. /* xdr_ld.h - xdr for additional dbxWorks structures */
  2.  
  3. /*
  4. modification history
  5. --------------------
  6. 01a,05jun90,llk  extracted from xdr_dbx.h.
  7. */
  8.  
  9. #ifndef INCxdrldh
  10. #define INCxdrldh
  11.  
  12. #define MAXSTRLEN 256
  13. #define MAXTBLSZ 100
  14.  
  15. /*
  16.  * structure used to pass back the information for a single file
  17.  * loaded in VxWorks
  18.  */
  19. struct ldfile {
  20.     char     *name;
  21.     int     txt_addr;
  22.     int     data_addr;
  23.     int     bss_addr;
  24. };
  25. typedef struct ldfile ldfile;
  26.  
  27. /*
  28.  * structure used to return a list of all files loaded over to 
  29.  * VxWorks. (VX_STATE_INQ return)
  30.  */
  31. struct ldtabl {
  32.     u_int tbl_size;
  33.     ldfile *tbl_ent;
  34. };
  35. typedef struct ldtabl ldtabl;
  36.  
  37.  
  38. bool_t xdr_ldfile();
  39. bool_t xdr_ldtabl();
  40.  
  41. #endif    INCxdrldh
  42.